package com.example.practice4.repository;

import com.example.practice4.Entity.Course;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository

public interface CourseRepository {
    List<Course> queryCourses();
    Course queryByName(String name);
}
